package com.jyx.iterator.node;
/**
 * @author  	蒋永星
 * @email       jiangyongxing@myzczk.com
 * @company		www.urbanspace.cn
 * @date 		2016年5月29日 下午5:17:50 
 * @version 	1.0
 */
public class Node {

	private Object data;
	private Node nextNode;

	public Node(){}
	
	public Node(Object data,Node nextNode){
		this.data = data;
		this.nextNode = nextNode;
				
	}
	
	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public void setNextNode(Node nextNode) {
		this.nextNode = nextNode;
	}

	public Node getNextNode() {
		return nextNode;
	}
}
